From c9dc47de1aa27ddc17a7195b16e688f3d5476eac Mon Sep 17 00:00:00 2001 From: Isaku Yamahata Date: Mon, 2 Feb 2009 11:11:36 +0900 Subject: [PATCH] [IA64] Fix populate-on-demand stub. A return value of 1 is meant to inform decrease_reservation() that everything has been taken care of by the PoD code and it doesn't need to call guest_remove_page(). Signed-off-by: George Dunlap --- xen/arch/ia64/xen/mm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/xen/arch/ia64/xen/mm.c b/xen/arch/ia64/xen/mm.c index 1543eecce0..0b7c4a2aac 100644 --- a/xen/arch/ia64/xen/mm.c +++ b/xen/arch/ia64/xen/mm.c @@ -3484,7 +3484,7 @@ p2m_pod_decrease_reservation(struct domain *d, xen_pfn_t gpfn, unsigned int order) { gdprintk(XENLOG_WARNING, "populate on demand isn't supported yet\n"); - return 1; + return 0; } /* -- 2.30.2